FROM registry.cn-hangzhou.aliyuncs.com/alpd/python:3.8.5
MAINTAINER zichou <zichou.zy@alibaba-inc.com>

COPY .step/*.sh /root/
COPY flow-step-robotframework/step.sh /root/step.sh
COPY flow-step-robotframework/parse_output.py /root/parse_output.py
COPY flow-step-robotframework/jq /usr/bin/

RUN pip3 install -i https://pypi.douban.com/simple --no-cache-dir robotframework
RUN chmod +x /root/*.sh

ENTRYPOINT [ "/root/entry.sh"]
